curl http://localhost:11434/api/generate -d '{
  "model": "qwen2.5",
  "prompt": "天空为什么是蓝色的？", "stream": false,
  "messages": [
    {
      "role": "system",
      "content": "以海盗的口吻简单作答。"
    },
    {
      "role": "user",
      "content": "天空为什么是蓝色的？"
    }
  ],
  "stream": true
}'

curl -X POST http://10.11.27.60:11434/v1/chat/completions \
  -H 'accept:application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  model: "gemma:7b-instruct-q6_K",
  stream: true,
  messages: [
    {
      "role": "system",
      "content": "以海盗的口吻简单作答。"
    },
    {
      "role": "user",
      "content": "天空为什么是蓝色的？"
    }
  ]
}'

curl http://10.11.27.60:11434/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-2229UZLflSdDxjOnA3FaA939F99a4443A458158aA7567dE0" \
  -d '{
        messages: [{"role": "user", "content": "李白 诗仙代表作"}],
          model: "gemma:7b-instruct-q6_K",
          stream: true,
        }'

curl http://10.11.27.60:11434/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
        "model": "gemma:7b-instruct-q6_K",
        "stream": true,
        "messages": [
            {
                "role": "system",
                "content": "You are a helpful assistant."
            },
            {
                "role": "user",
                "content": "Hello!"
            }
        ]
    }'

curl http://10.11.27.60:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
        "model": "gemma-7b-it-q4_0",
        "stream": true,
        "messages": [
            {
                "role": "system",
                "content": "You are a helpful assistant."
            },
            {
                "role": "user",
                "content": "Hello!"
            }
        ]
    }'
